#pragma once

#include <cstdint>
#include <string>
#include "1900_gameinfo.pb.h"



struct stGameInfo
{
    std::uint32_t game ;
    std::uint32_t agency_id ;
    std::string lauch_url;
	std::int32_t state; // 0:未启用,1:启用,2:停用
    std::uint32_t display_mode;  // 0:竖屏,1:横屏

    void CopyTo(gameinfo_proto::GameInfo& gameinfo) const;
    void CopyFrom(const gameinfo_proto::GameInfo& gameinfo);

    stGameInfo& operator = (const stGameInfo& that);
    stGameInfo& operator = (stGameInfo&& that);

    std::string ToString() const;
};












